﻿using Exam.infranstuctrue.Tools.Attributes;
using Exam.Service.EFCore.MySql;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Exam.infranstuctrue.IOC
{
    [IProvider, Iinjection]
    public class ExamIOC
    {
        public readonly ExamQuestionEFCoreService _examQuestionEFCore;
        public readonly ExamOptionEFCoreService _examoptionEFCore;
        public readonly ExamTestPaperEFCoreService _examTestPaperEFCore;
        public readonly ExamTestPaperDetailEFCoreService _examTestPaperDetailEFCore;
        public readonly ExamQuestionBankEFCoreService _examQuestionBankEFCore;
        public readonly ExamQuestionBankDetaliEFCoreService _examQuestionBankDetaliEFCore;
        public readonly ExamArrangEFCoreService _examArrangEFCore;
        public readonly ExamUserAnswerEFCoreService _examUserAnswerEFCore;
        public readonly ExamUserAnswerDetailEFCoreService _examUserAnswerDetailEFCore;

        public ExamIOC(ExamQuestionEFCoreService examQuestionEFCore, ExamOptionEFCoreService examoptionEFCore,ExamTestPaperEFCoreService examTestPaperEFCore,ExamTestPaperDetailEFCoreService examTestPaperDetailEFCore,ExamQuestionBankEFCoreService examQuestionBankEFCore,ExamQuestionBankDetaliEFCoreService examQuestionBankDetaliEFCore, ExamArrangEFCoreService examArrangEFCore, ExamUserAnswerEFCoreService examUserAnswerEFCore, ExamUserAnswerDetailEFCoreService examUserAnswerDetailEFCore)
        {
            _examQuestionEFCore = examQuestionEFCore;
            _examoptionEFCore = examoptionEFCore;
            _examTestPaperEFCore = examTestPaperEFCore;
            _examTestPaperDetailEFCore = examTestPaperDetailEFCore;
            _examQuestionBankEFCore = examQuestionBankEFCore;
            _examQuestionBankDetaliEFCore = examQuestionBankDetaliEFCore;
            _examArrangEFCore = examArrangEFCore;
            _examUserAnswerEFCore = examUserAnswerEFCore;
            _examUserAnswerDetailEFCore = examUserAnswerDetailEFCore;
        }
    }
}
